<template>
  <span>主页——CVC</span>
  <br>
  <a-button @click="toPage('/CVC/question-test')">问卷测试</a-button>
  <a-button @click="toPage('/CVC/question-edit')">问卷编辑</a-button>

  <router-view></router-view>
</template>

<script setup>
  // 导入依赖
  import {useNavigation} from "@/utils/GeneralFunctions.js";
  // 解构封装的导航方法
  const {toPage}=useNavigation();


</script>

<style scoped>

</style>